package com.xf.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xf.common.core.entity.dmp.DmpAuthUserRoleRelation;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.xf.mapper.DmpAuthUserRoleRelationMapper;
import com.xf.service.DmpAuthUserRoleRelationService;

/**
 * @author JoeyLiu
 * @create 2022-04-20 16:31
 */
@Service
public class DmpAuthUserRoleRelationServiceImpl extends ServiceImpl<DmpAuthUserRoleRelationMapper, DmpAuthUserRoleRelation> implements DmpAuthUserRoleRelationService {

    @Resource
    private DmpAuthUserRoleRelationMapper dmpAuthUserRoleRelationMapper;

    @Override
    public Boolean deleteByUserId(Long userId) {
        return dmpAuthUserRoleRelationMapper.deleteByUserId(userId);
    }

}



